package com.oracle.lingshangejia.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class ThreeDoctorMyBean implements Parcelable {
    /**
     * msg : 操作成功
     * code : 0
     * data : {"id":18,"name":"宋光明","xm":"","csrq":"","gzdw":"","czlx":"","phone":"17704576703","ksid":125,"yyid":126,"ksmc":"肛肠科","yymc":"加格达奇医院","picUrl":"","sfzh":"","sjysscly":"无","xb":"","mz":"","picId":""}
     */

    private String msg;
    private int code;
    private DataBean data;

    protected ThreeDoctorMyBean(Parcel in) {
        msg = in.readString();
        code = in.readInt();
    }

    public static final Creator<ThreeDoctorMyBean> CREATOR = new Creator<ThreeDoctorMyBean>() {
        @Override
        public ThreeDoctorMyBean createFromParcel(Parcel in) {
            return new ThreeDoctorMyBean(in);
        }

        @Override
        public ThreeDoctorMyBean[] newArray(int size) {
            return new ThreeDoctorMyBean[size];
        }
    };

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(msg);
        dest.writeInt(code);
    }

    public static class DataBean {
        /**
         * id : 18
         * name : 宋光明
         * xm :
         * csrq :
         * gzdw :
         * czlx :
         * phone : 17704576703
         * ksid : 125
         * yyid : 126
         * ksmc : 肛肠科
         * yymc : 加格达奇医院
         * picUrl :
         * sfzh :
         * sjysscly : 无
         * xb :
         * mz :
         * picId :
         */

        private int id;
        private String name;
        private String xm;
        private String csrq;
        private String gzdw;
        private String czlx;
        private String phone;
        private int ksid;
        private int yyid;
        private String ksmc;
        private String yymc;
        private String picUrl;
        private String sfzh;
        private String sjysscly;
        private String xb;
        private String mz;
        private String picId;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getXm() {
            return xm;
        }

        public void setXm(String xm) {
            this.xm = xm;
        }

        public String getCsrq() {
            return csrq;
        }

        public void setCsrq(String csrq) {
            this.csrq = csrq;
        }

        public String getGzdw() {
            return gzdw;
        }

        public void setGzdw(String gzdw) {
            this.gzdw = gzdw;
        }

        public String getCzlx() {
            return czlx;
        }

        public void setCzlx(String czlx) {
            this.czlx = czlx;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getKsid() {
            return ksid;
        }

        public void setKsid(int ksid) {
            this.ksid = ksid;
        }

        public int getYyid() {
            return yyid;
        }

        public void setYyid(int yyid) {
            this.yyid = yyid;
        }

        public String getKsmc() {
            return ksmc;
        }

        public void setKsmc(String ksmc) {
            this.ksmc = ksmc;
        }

        public String getYymc() {
            return yymc;
        }

        public void setYymc(String yymc) {
            this.yymc = yymc;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public String getSfzh() {
            return sfzh;
        }

        public void setSfzh(String sfzh) {
            this.sfzh = sfzh;
        }

        public String getSjysscly() {
            return sjysscly;
        }

        public void setSjysscly(String sjysscly) {
            this.sjysscly = sjysscly;
        }

        public String getXb() {
            return xb;
        }

        public void setXb(String xb) {
            this.xb = xb;
        }

        public String getMz() {
            return mz;
        }

        public void setMz(String mz) {
            this.mz = mz;
        }

        public String getPicId() {
            return picId;
        }

        public void setPicId(String picId) {
            this.picId = picId;
        }
    }

    /**
     * msg : 请求成功
     * code : 1
     * data : {"id":8,"name":"杨旭","phone":"18324512460","ksid":125,"yyid":123,"ksmc":"哈尔滨医院","yymc":"哈尔滨医院","picUrl":"/files/9638f940-56af-48ea-86c2-d12c0e7364c0.jpg","sfzh":"","sjysscly":"的撒旦"}
     */

   /* private String msg;
    private int code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private Long id;
        //医生名称
        private String name;
        //手机
        private String phone;
        //科室id
        private Long ksid;
        //医院id
        private Long yyid;
        //科室名称
        private String ksmc;
        //医院名称
        private String yymc;
        //头像图片地址
        private String picUrl;
        //身份证号
        private String sfzh;
        //三甲医生擅长领域
        private String sjysscly;
        //性别
        private Integer xb;
        //民族(1-汉族，2-少数民族)
        private Integer mz;
        //头像id
        private Long picId;

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public Long getKsid() {
            return ksid;
        }

        public void setKsid(Long ksid) {
            this.ksid = ksid;
        }

        public Long getYyid() {
            return yyid;
        }

        public void setYyid(Long yyid) {
            this.yyid = yyid;
        }

        public String getKsmc() {
            return ksmc;
        }

        public void setKsmc(String ksmc) {
            this.ksmc = ksmc;
        }

        public String getYymc() {
            return yymc;
        }

        public void setYymc(String yymc) {
            this.yymc = yymc;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public String getSfzh() {
            return sfzh;
        }

        public void setSfzh(String sfzh) {
            this.sfzh = sfzh;
        }

        public String getSjysscly() {
            return sjysscly;
        }

        public void setSjysscly(String sjysscly) {
            this.sjysscly = sjysscly;
        }

        public Integer getXb() {
            return xb;
        }

        public void setXb(Integer xb) {
            this.xb = xb;
        }

        public Integer getMz() {
            return mz;
        }

        public void setMz(Integer mz) {
            this.mz = mz;
        }

        public Long getPicId() {
            return picId;
        }

        public void setPicId(Long picId) {
            this.picId = picId;
        }
    }*/
}
